package com.design.twords.database;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

/**
 * Create by Alen
 * Time:  13:18
 */
public class UserData extends LitePalSupport {


    private String userId;

    //用户名
    private String nickName;

    //词汇
    @Column(defaultValue = "0")
    private int wordNumb;

    //学习的天数
    @Column(defaultValue = "0")
    private int dayNumb;

    @Column(defaultValue = "false")
    private boolean isAdded;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getWordNumb() {
        return wordNumb;
    }

    public void setWordNumb(int wordNumb) {
        this.wordNumb = wordNumb;
    }

    public int getDayNumb() {
        return dayNumb;
    }

    public void setDayNumb(int dayNumb) {
        this.dayNumb = dayNumb;
    }

    public boolean isAdded() {
        return isAdded;
    }

    public void setAdded(boolean added) {
        isAdded = added;
    }
}
